import request from '../utils/request';
//查询登录用户
export const getUserData = query => {
    return request({
        url: '/user/getuser',
        method: 'get'
    });
};
//登录
export const login = query => {
    return request({
        url: '/user/longin',
        method: 'post',
        params: query
    });
};